“………???????………”
Problem solving sequence:
1.Algorithm
2.Pseudo-code
3.Flowchat
4.C/C++ code
Loop (for)
Example (Step 1)
How much money has Julien? Julien spends £400 a month on rent, £75 a month on food, and £100 a month on other expenses. He earns 2% per month on any saving money.
Control statements allow a programmer to craft a program so that certain parts of code execute multiple times, or not at all based on the current state of the program. Control statements are the most basic form of logical control within a program.